﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLToolkit.Data;
using BLToolkit.Common;
using BLToolkit.DataAccess;
using BLToolkit.Mapping;

namespace Mc.Fe.Entities
{
    [TableName("FAC05_DETFACTURA")]
    public class DetalleFactura
    {
        #region Primitive Properties
        [MapField("FAC05CODEMP")]
        public virtual string CodigoEmpresa
        {
            get;
            set;
        }
        [MapField("FAC01COD")]
        public virtual string CodigoTipoDocumento
        {
            get;
            set;
        }
        [MapField("FAC04NUMDOC")]
        public virtual string NroDocumento
        {
            get;
            set;
        }
        [MapField("FAC05CODFACDET")]
        public virtual int Item
        {
            get;
            set;
        }
        [MapField("FAC05CODPROD")]
        public virtual string CodigoProducto
        {
            get;
            set;
        }
        [MapField("FAC05DESCPROD")]
        public virtual string DescripcionProducto
        {
            get;
            set;
        }
        [MapField("FAC05UNIMED")]
        public virtual string UnidadMedida
        {
            get;
            set;
        }
        [MapField("FAC05CANTIDAD")]
        public virtual Nullable<double> Cantidad
        {
            get;
            set;
        }
        [MapField("FAC05PRECIO")]
        public virtual Nullable<double> Precio
        {
            get;
            set;
        }
        [MapField("FAC05SUBTOTAL")]
        public virtual Nullable<double> SubTotal
        {
            get;
            set;
        }
        [MapField("FAC05MINTMH")]
        public virtual Nullable<double> FAC05MINTMH
        {
            get;
            set;
        }
        [MapField("FAC05MINTMS")]
        public virtual Nullable<double> FAC05MINTMS
        {
            get;
            set;
        }
        [MapField("FAC05MINTMP")]
        public virtual Nullable<double> FAC05MINTMP
        {
            get;
            set;
        }
        [MapField("FAC05MINLOTE")]
        public virtual string FAC05MINLOTE
        {
            get;
            set;
        }
        [MapField("FAC05MINCONTRATO")]
        public virtual string FAC05MINCONTRATO
        {
            get;
            set;
        }
        [MapField("FAC05MINENMIENDA")]
        public virtual string FAC05MINENMIENDA
        {
            get;
            set;
        }
        [MapField("FAC05MINGUIAS")]
        public virtual string FAC05MINGUIAS
        {
            get;
            set;
        }
        [MapField("FAC05MINTMH_PRO")]
        public virtual Nullable<double> FAC05MINTMH_PRO
        {
            get;
            set;
        }
        [MapField("FAC05MINTMS_PRO")]
        public virtual Nullable<double> FAC05MINTMS_PRO
        {
            get;
            set;
        }
        [MapField("FAC05MINTMP_PRO")]
        public virtual Nullable<double> FAC05MINTMP_PRO
        {
            get;
            set;
        }
        [MapField("FAC05PRECIO_PRO")]
        public virtual Nullable<double> FAC05PRECIO_PRO
        {
            get;
            set;
        }
        [MapField("FAC05SUBTOTAL_PRO")]
        public virtual Nullable<double> FAC05SUBTOTAL_PRO
        {
            get;
            set;
        }
        [MapField("FAC05SUBTOTAL_FIN")]
        public virtual Nullable<double> FAC05SUBTOTAL_FIN
        {
            get;
            set;
        }
        [MapField("FAC05DESCLARGA")]
        public virtual string FAC05DESCLARGA
        {
            get;
            set;
        }

        #endregion
    }
}
